﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace CommonLibrary.DataModel.Form
{
    public class FormEntity
    {
        public FormEntity()
        {
            formfieldEntityList = new List<FormFieldEntity>();
        }

        /// <summary>
        /// 表单id
        /// </summary>
        public int form_id { set; get; }  

        /// <summary>
        /// 名称
        /// </summary>
        public string name { set; get; }   

        /// <summary>
        /// 分类id
        /// </summary>
        public string catalogy { set; get; }  

        /// <summary>
        /// 部门id
        /// </summary>
        public int dept_id { set; get; }  

        /// <summary>
        /// 创建人id
        /// </summary>
        public int user_id { set; get; }

        /// <summary>
        /// 定义文件路径  
        /// </summary>
        public string location { set; get; }

        /// <summary>
        /// 顺序号
        /// </summary>
        public int pos { set; get; }   

        /// <summary>
        /// 创建时间
        /// </summary>
        public string createtime { set; get; }    

        /// <summary>
        /// 最后修改时间
        /// </summary>
        public string lasttime { set; get; }   

        /// <summary>
        /// 描述
        /// </summary>
        public string descn { set; get; }  


        /// <summary>
        /// 创建人姓名
        /// </summary>
        public string user_name { set; get; } 

        /// <summary>
        /// 表单的字段
        /// </summary>
        public List<FormFieldEntity> formfieldEntityList = null;  
    }
}
